package com.home.webapp.base.service;

import com.home.common.framework.core.service.BaseService;
import com.home.common.model.TreeNode;
import com.home.webapp.base.entity.BaseRoleUser;

import java.util.List;


/**
 * Description: 用户角色 service
 * Created by 王大宸 on 2020-10-05 23:28:38
 * Created with IntelliJ IDEA.
 */
public interface BaseRoleUserService extends BaseService<BaseRoleUser,String> {

    /***
     * 功能说明：获取用户角色树
     *
     * @author 王大宸
     * @date 2020/10/8 15:26
     * @param userId userId
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     */
    List<TreeNode> roleTree(String userId) throws Exception;

}
